package com.sasis.dao;

import java.util.List;
import com.sasis.dao.Dao;
import com.sasis.model.DeptInfo;
/**
 * @author smith/ewen
 *
 */
public interface DeptInfoDAO extends Dao{
	
	int insert(DeptInfo record);

    int updateByPrimaryKey(DeptInfo record);
    
    List selectRef(DeptInfo record);
    
    //select all no condition
    List selectAll();
    
    DeptInfo selectByPrimaryKey(DeptInfo record);

    int deleteByPrimaryKey(DeptInfo key);
    
    List getParentDepts(int deptId);
}
